package com.sky.exceptionHandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ServiceException extends RuntimeException{

    private Integer code;

    private String message;

    public ServiceException(String message){
        this.message = message;
    }

}
